What happened to the code?

Actual code is pretty unchanged, I adapted the makefiles (and named 'em Makefile.OS2, so make sure to type make -f Makefile.OS2 from the bind distribution root directory, issuing make from subdirectories won't work), figured out a suitable compat/lib/lib44bsd.a, read conf/protability.h very carefully :) and while doing so my OS/2 box turned into a unix-lookalike4.

Look for __EMX__ defines in the code (you won't find many) to see what changed.

Upon request (I was really forced to do so:) I made the path-setup somewhat more dynamic for OS/2 – now the code evaluates the environment variables ETC, TMP and TEMP and adapts accordingly. Two (hopefully) new environment were introduced:

Beware! The nice() and renice() code has been replaced with dummy code, so the OS/2 port may consume more CPU time than neccessary.